package com.xwaf.platform.system.api.entity.auth;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.xwaf.platform.common.api.entity.ELItem;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 
 * <p>
 * 敏感字段权限
 * <p>
 * 
 * @author 李聪 <br>
 * @email xwaf_love@yeah.net <br>
 * @since JDK 1.8<br>
 * @date 2019-5-25 12:36:19 <br>
 * @see 无<br>
 *      Copyright (c) 2019, xwaf_love@yeah.net All Rights Reserved.<br>
 */
@Data
@TableName(value = "sys_permission_field")
public class PermissionField extends ELItem {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "敏感字段编号 长度(200) 必填")
	private java.lang.String code;

	@ApiModelProperty(value = "敏感字段名称 长度(50)")
	private java.lang.String name;

	@ApiModelProperty(value = "敏感字段国际化key 长度(100)")
	private java.lang.String i18n;

	@ApiModelProperty(value = "模块编号 长度(200) 必填")
	private java.lang.String moduleCode;

	@ApiModelProperty(value = "排序号 ")
	private java.lang.Integer sort;

	@ApiModelProperty(value = "描述 长度(200)")
	private java.lang.String description;

	@TableField(exist = false)
	@ApiModelProperty(value = "是否选中")
	private transient Boolean checked = false;
}
